//
//  JTSettingManager.h
//  AFNetworking
//
//  Created by 黄金台 on 2019/8/18.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

// 定义语言类型
typedef NSString *JTLanguageName NS_EXTENSIBLE_STRING_ENUM;

UIKIT_EXTERN JTLanguageName const JTLanguageZh_Hans;    // 中文简体
UIKIT_EXTERN JTLanguageName const JTLanguageZh_Hant;    // 中文繁体
UIKIT_EXTERN JTLanguageName const JTLanguageEn;         // 英文
UIKIT_EXTERN JTLanguageName const JTLanguageEs;         // 葡萄牙语


@interface JTSettingManager : NSObject

@property (nonatomic, copy, readonly) JTLanguageName         language;

+ (instancetype)shareManager;

// 设置app语言
- (void)setAppLanguage:(JTLanguageName)language;

@end

NS_ASSUME_NONNULL_END
